<template>

<van-button type="primary">主要按钮</van-button>

</template>

<script setup lang="ts">
import { reactive, ref, onBeforeMount, onMounted, onUnmounted } from "vue"
import useAppInstance from '@/utils/useAppInstance'

const { AppProxy } = useAppInstance()

onBeforeMount(() => {
})

onMounted(() => {

  AppProxy.$axios.post('/api/community/article_list', { page: 1, search_type: 1 }).then((res: any) => {
        console.log('onMounted', res)

    }).catch((err: any) => {
        console.log('catch', err)
    })
})

onUnmounted(() => {
})

</script>

<script lang="ts"></script>

<style scoped lang="scss">

</style>